package com.yycwxt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@TableName("dct_packfee")
public class PackFee {

    @TableId(type = IdType.AUTO)
    private Integer id ;

    @NotBlank(message="不能为空")
    @NotNull(message = "不能为空")
    private String  type;

    @NotBlank(message="不能为空")
    @NotNull(message = "不能为空")
    private String storeCode;

    @NotBlank(message="不能为空")
    @NotNull(message = "不能为空")
    private String storeName;

    @NotNull(message = "不能为空")
    @Min(value = 0, message = "必须大于等于0")
    private float fee;

    private  String remark;
    private String created;
}
